<?php
 namespace App\Http\Controllers; use TechOnline\Laravel\Dao\ModelUtil; use TechSoft\Laravel\Config\ConfigUtil; class PageController extends BaseController { public function about() { $viewData = []; $viewData['pageTitle'] = '关于我们'; $viewData['pageContent'] = ConfigUtil::get('siteAbout'); return $this->_view('page', $viewData); } public function contact() { $viewData = []; $viewData['pageTitle'] = '联系我们'; $viewData['pageContent'] = ConfigUtil::get('siteContact'); return $this->_view('page', $viewData); } } 